//parent//
base
//title//
Login
//current_menu_item//
login
//content//
<?php
include_once('helpers/url_helper.php');
include_once('libs/auth_lib.php');
if (!isAuth ()):
?>
<form action="<?=  get_url('login', 'login', array('callback_path' => 'login', 'callback_method' => ''))?>" method="post">
<input type="text" name="login"/><br/>
<input type="password" name="password"/><br/>
<input type="submit" value="Login"/>
</form>
<?php
else:
?>
<h1>Hello! You can <a href="<?=get_url('login','logout', array('callback_path' => 'login', 'callback_method' => ''))?>">logout</a></h1>
<?php endif; ?>